package com.ivo.model.dcc;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "DCC_D_DocumentAttachment")
public class DocumentAttachment
{
	@Id
	@Column(name = "DocumentAttachment_ID")
	private long documentAttachmentId;
	
	@Column(name = "DocumentVersion_FK")
	private long documentVersion_FK;
	
	@Column(name = "FileName")
	private String fileName;
	
	@Column(name = "FileSize")
	private int fileSize;
	
	@Column(name = "TypeFlag")
	private short typeFlag;
	
	@Column(name = "ValidFlag")
	private short validFlag;
	
	public DocumentAttachment(){}

	public long getDocumentAttachmentId() {
		return documentAttachmentId;
	}

	public void setDocumentAttachmentId(long documentAttachmentId) {
		this.documentAttachmentId = documentAttachmentId;
	}

	public long getDocumentVersion_FK() {
		return documentVersion_FK;
	}

	public void setDocumentVersion_FK(long documentVersion_FK) {
		this.documentVersion_FK = documentVersion_FK;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public short getTypeFlag() {
		return typeFlag;
	}

	public void setTypeFlag(short typeFlag) {
		this.typeFlag = typeFlag;
	}

	public short getValidFlag() {
		return validFlag;
	}


	public void setValidFlag(short validFlag) {
		this.validFlag = validFlag;
	} 

}
